//
//  UIApplication+Extension.h
//  OMTCoreKit
//
//  Created by 昭荣伊 on 2018/7/27.
//

#import <UIKit/UIKit.h>

@interface UIApplication (Extension)

/**
 应用主版本号
 */
@property (nonatomic, copy, readonly) NSString *omt_version;

/**
 应用 Build 版本号
 */
@property (nonatomic, copy, readonly) NSString *omt_buildVersion;

/**
 应用 bundle Id
 */
@property (nonatomic, copy, readonly) NSString *omt_bundleId;

/**
 当前语言
 */
@property (nonatomic, copy, readonly) NSString *omt_currentLanguage;

/**
 国家代码
 */
@property (nonatomic, copy, readonly) NSString *omt_countryCode;

/**
 从右到左的语言
 */
@property (nonatomic, assign, readonly) BOOL omt_rightToLeftLanguage;

/**
 判断语言是否为从右到左语言

 @param language 语言
 @return YES RTL NO LTR
 */
- (BOOL)omt_isRightToLeftLanguage:(NSString *)language;

@end
